#include "PRNG.h"
//#include "nameserver.h"
#include "watcard.h"
#include "vendingmachine.h"
#include "nameserver.h"

class Printer;
class WATCard;
class NameServer;
class WATCardOffice;
class VendingMachine;
class VendingMachineCardEater;
class VendingMachineOverCharger;
extern PRNG prng;

class Student {
	unsigned int id, numPurchases;
  int typePurchase;
	NameServer *nameServer;
	WATCardOffice *cardOffice;
	WATCard *card;
	VendingMachine *vend;
   Printer *prt;
	
	public:
		Student( Printer &prt, NameServer &nameServer, WATCardOffice &cardOffice, unsigned int id, unsigned int maxPurchases );
		bool action();
    ~Student();
};

